package com.moon.back.service;

import cn.dev33.satoken.util.SaResult;
import com.moon.back.entity.dto.UserDto;

import javax.servlet.http.HttpServletRequest;


public interface IUserService {

     public SaResult login(UserDto userDto);

     public SaResult logout(Integer loginId,HttpServletRequest request);


     public SaResult  register(UserDto userDto);

    SaResult getUserInfo(HttpServletRequest request);
}
